<!--
  @author yangjiangming
  @date 2018-12-10 20:40:28
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html th:replace="~{work/modify/common/layout :: layout('改渠道费', ~{::title}, ~{::content}, ~{::script})}">
<head>
    <title>工单管理-改渠道费</title>
</head>
<body>

<div th:fragment="content">
    <style>
        .layui-form-item .d-width-label{
            width: 60px;
        }
        .d-width-input{
            width: 190px;
        }
    </style>
    <form action="/work/modify/save/channelamount.action" class="layui-form">
        <input type="hidden" name="orderId" th:value="${orderId}"/>
        <input type="hidden" name="workId" th:value="${workId}"/>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label d-width-label">渠道佣金</label>
                <div class="layui-inline d-width-input ">
                    <input type="text" placeholder="请输入" id="channelAmount" name="channelAmount" class="layui-input channelamount" th:value="${#moneyUtil.parseToYuan(vo.channelAmount)}" autocomplete="off" >
                </div>
            </div>
            <div class="layui-inline" th:if="${vo.canDeleteAmount}">
                <input name="deleteChannelAmount" value="2" title="删除渠道费"  type="checkbox" lay-skin="primary" lay-filter="deleteChannelAmount">
            </div>
        </div>
        <div class="layui-from-item">
            <label class="layui-form-label" style="width: 60px;">缘由</label>
            <div class="layui-inline" style="width: 800px;">
                <textarea name="operatorRemark" class="layui-textarea" maxlength="500" placeholder="请输入缘由，最多500个字"></textarea>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: center;margin-top: 30px;">
            <div class="layui-inline">
                <button class="layui-btn layui-btn-normal" lay-submit="">保存</button>
                <!--<button class="layui-btn layui-btn-primary" type="reset">重置</button>-->
            </div>
        </div>
    </form>
</div>

<script th:inline="javascript">

    var layuiModel = {
        oms_work_modify_channelamount: "work/modify/zmn.oms.work.modify.channelamount"
    };
</script>
</body>
</html>